package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.entity.Course;

import java.util.List;

public interface CourseService {
    PageResult<Course> page(String name, Integer sucject, Integer target, Integer page, Integer pageSize);

    void add(Course course);

    Course getById(Integer id);

    void update(Course course);

    void deleteById(Integer id);

    List<Course> listBySubject(Integer subject);

    List<Course> getAllCourses();
}
